package com.yy.domain;
import com.yy.common.annotation.Excel;
import com.yy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
 * 车辆通行记录对象 park_car_inout_log_record
 *
 * @author yy
 * @date 2023-03-10
 */
public class ParkCarInoutLogRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String numberPlate;

    /** 当前停车场 */
    @Excel(name = "当前停车场")
    private Long parkId;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 当前状态（in,out） */
    @Excel(name = "当前状态", readConverterExp = "i=n,out")
    private String state;

    /** 入场放行方式(0-未知/1-自动抬杆/2-人工抬杆/3-手机放行，断电断网时) */
    @Excel(name = "入场放行方式(0-未知/1-自动抬杆/2-人工抬杆/3-手机放行，断电断网时)")
    private Long type;

    /** 业主Id */
    @Excel(name = "业主Id")
    private Long ownerId;

    /** 业主名字 */
    @Excel(name = "业主名字")
    private String ownerName;

    /** 用户姓名(外来) */
    @Excel(name = "用户姓名(外来)")
    private String user;

    /** 匝道id */
    @Excel(name = "匝道id")
    private Long checkpointId;

    /** 匝道口名字 */
    @Excel(name = "匝道口名字")
    private String checkpointName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date startTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date endTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNumberPlate(String numberPlate)
    {
        this.numberPlate = numberPlate;
    }

    public String getNumberPlate()
    {
        return numberPlate;
    }
    public void setParkId(Long parkId)
    {
        this.parkId = parkId;
    }

    public Long getParkId()
    {
        return parkId;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setOwnerId(Long ownerId)
    {
        this.ownerId = ownerId;
    }

    public Long getOwnerId()
    {
        return ownerId;
    }
    public void setOwnerName(String ownerName)
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName()
    {
        return ownerName;
    }
    public void setUser(String user)
    {
        this.user = user;
    }

    public String getUser()
    {
        return user;
    }
    public void setCheckpointId(Long checkpointId)
    {
        this.checkpointId = checkpointId;
    }

    public Long getCheckpointId()
    {
        return checkpointId;
    }
    public void setCheckpointName(String checkpointName)
    {
        this.checkpointName = checkpointName;
    }

    public String getCheckpointName()
    {
        return checkpointName;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("numberPlate", getNumberPlate())
            .append("parkId", getParkId())
            .append("phone", getPhone())
            .append("state", getState())
            .append("type", getType())
            .append("ownerId", getOwnerId())
            .append("ownerName", getOwnerName())
            .append("user", getUser())
            .append("checkpointId", getCheckpointId())
            .append("checkpointName", getCheckpointName())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
